﻿

using System;
using System.Web;
using System.Runtime.Serialization;

namespace COM.Rights.Model
{
    public partial class BdNewsInfo
    {  	
		partial void OnModelCreated(){}
		partial void OnModelLoaded(){
            if (!string.IsNullOrEmpty(HostName))
            {
                
                string[] arr = HostName.Split(';');
                if (arr != null && arr.Length > 0)
                {
                    ///newscontent-897901650.html
                    DetailHTMLURI = "http://" + arr[0] + "/newscontent-" + ID + ".html";
                }
            }
        }	
	}	
}